package com.zhs.blog.job;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @ClassName: TestJob
 * @Descripiton: TODO
 * @Author: 小郑
 * @Date： 2025/5/11 15:48
 * @Version：1.8
 **/
@Component
public class TestJob {

    @Scheduled(cron = "0/5 * * * * ?")
    public void testJob(){
        System.out.println("测试定时任务");
    }
}